package cn.yunhe.entity;

import lombok.Data;

import java.io.Serializable;
@Data
public class Street implements Serializable {
    private int id;
    private String name;
    private District district;

    public Street(int id, String name, District district) {
        this.id = id;
        this.name = name;
        this.district = district;
    }

    public Street(String name, District district) {
        this.name = name;
        this.district = district;
    }

    public Street() {
    }
}
